/**
 * Created by wangle on 2018/4/17.
 */
qui(
    function (require, exports, module) {
        window.RecordCol = window.RecordCol || {version: '1.0'};
        RecordCol.Constant = {
            baseApiUrl: "/api/",
            devMode: auth.dev(),
            thirdUrl_query_user: "http://lego.iqiyi.com/external/auth/auth-api/services/user/search",
            thirdUrl_channel_url:"http://lego.iqiyi.com/apis/channel/list"
        }
        RecordCol.urlConfig = (function () {
            var useUrl = RecordCol.Constant.baseApiUrl;
            var redirectUrl = useUrl + "redirect";
            var doColSaveUrl = useUrl + "recordRPC/col/save";
            var doColEditUrl = useUrl + "recordRPC/col/update";
            var doColDelUrl = useUrl + "recordRPC/col/delete";
            var getColUrl = useUrl + "recordRPC/col/list";
            var getColAuthUrl = useUrl + "recordRPC/col/authList";
            var getColUrlInfo = useUrl + "recordRPC/col/info";
            var getRecordChannelUrl = useUrl + "record/channel/list";
            return {
                redirectUrl: redirectUrl,
                doColSaveUrl: doColSaveUrl,
                doColEditUrl: doColEditUrl,
                doColDelUrl: doColDelUrl,
                getColUrl: getColUrl,
                getRecordChannelUrl:getRecordChannelUrl,
                getColUrlInfo: getColUrlInfo,
                getColAuthUrl:getColAuthUrl
            }
        })()
    }
);